<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <script type="text/javascript">
function showTabIndex()
  {
  var eml=document.getElementById('em').tabIndex;
  var r1=document.getElementById('pad').tabIndex;
  document.write("Tab index of email: " + eml);
  document.write("<br />");
  document.write("Tab index of passwd button: " + r1);
  }
</script>
 </head>
 <body>
  <form>
  username<input type="text" name="username" id="username" tabIndex="1"><br>
  passwd<input type="passwrod" id="pad" name="passwd" tabIndex="2"><br>
  Email<input type="email" id="em" name="Email" tabIndex="3"><br>
  <input type="submit" name="dj" value="递交" tabIndex="4">
  <input type="button" onclick="showTabIndex()"
   value="Show tabIndex" />
  </form>

 </body>
</html>
